package com.kk.xhr.model.dto;

import com.kk.xhr.common.pojo.BinaryEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 调岗dto
 *
 * @author kkmystery
 * @version 1.0 2021/3/6
 * @since 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TransferDTO {
    /** 主键id */
    private Long id;
    /** 用户id */
    private Long userId;
    /** 调动后部门id */
    private Long afterDepartmentId;
    /** 调动后职位id */
    private Long afterJobId;
    /** 调动日期 */
    private LocalDateTime removeDate;
    /** 调动原因 */
    private String reason;
    /** 备注 */
    private String remark;
    /** 状态 */
    private BinaryEnum status;
    /** 创建时间 */
    private LocalDateTime created;
    /** 更新时间 */
    private LocalDateTime updated;
}
